package com.ybkj.daijia.server.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户登录信息
 *
 * @author Administrator
 */
public class MemberLogin implements Serializable {

    /**
     * 图形验证码有效时间30min
     */
    public static final Integer IVC_VALID_TIME = 1800000;//毫秒，合30min
    /**
     * 短信验证码有效时间30min
     */
    public static final int SMS_VALID_TIME = 1800000;
    /**
     * 一个自然日短信发送次数限制
     */
    public static final Integer SMS_SEND_LIMIT = 5;
    /**
     * 短信验证码验证错误上限
     */
    public static final Integer SMS_CODE_VERIFY_LIMIT = 5;
    /**
     * 一个自然日密码验证错误次数限制
     */
    public static final Integer PASSWORD_LIMIT = 5;
    private static final long serialVersionUID = 6923037851675067306L;
    private Long id;//编号

    private String phone;//电话

    private String imagesVerifyCode;//图形验证码

    private Date ivcTime;//图形验证码生成时间

    private String smsCode;//短信验证码

    private Date smsTime;//短信验证码生成时间

    private Integer smsVerifyFiled;//短信验证码验证失败次数

    private Date smsVerifyFiledTime;//短信验证码验证失败时间

    private Integer smsNumDay;//当天发送短信条数

    private Integer passwordVerifyFiled;//密码验证错误次数

    private Date passwordVerifyFiledTime;//密码验证失败时间

    private Boolean isLock;//账号是否被锁定 true 锁定 false 不锁定

    private String lockMemo;//锁定记录

    private String ip;//用户登录ip

    private String cooperationAccountType;//合作账号类型

    private String mac;//移动终端硬件标识/注册MAC

    private String imsi;//区别移动用户的标志

    private String imei;//手机串号

    private String city;//登录城市

    private String bindingPayAccountType;//绑定的支付账号类型

    private String port;//登录端口

    private Double lat;

    private Double lng;

    private String loginType;

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getCooperationAccountType() {
        return cooperationAccountType;
    }

    public void setCooperationAccountType(String cooperationAccountType) {
        this.cooperationAccountType = cooperationAccountType;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getBindingPayAccountType() {
        return bindingPayAccountType;
    }

    public void setBindingPayAccountType(String bindingPayAccountType) {
        this.bindingPayAccountType = bindingPayAccountType;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getImagesVerifyCode() {
        return imagesVerifyCode;
    }

    public void setImagesVerifyCode(String imagesVerifyCode) {
        this.imagesVerifyCode = imagesVerifyCode;
    }

    public Date getIvcTime() {
        return ivcTime;
    }

    public void setIvcTime(Date ivcTime) {
        this.ivcTime = ivcTime;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public Date getSmsTime() {
        return smsTime;
    }

    public void setSmsTime(Date smsTime) {
        this.smsTime = smsTime;
    }

    public Integer getSmsNumDay() {
        return smsNumDay;
    }

    public void setSmsNumDay(Integer smsNumDay) {
        this.smsNumDay = smsNumDay;
    }

    public Integer getSmsVerifyFiled() {
        return smsVerifyFiled;
    }

    public void setSmsVerifyFiled(Integer smsVerifyFiled) {
        this.smsVerifyFiled = smsVerifyFiled;
    }

    public Integer getPasswordVerifyFiled() {
        return passwordVerifyFiled;
    }

    public void setPasswordVerifyFiled(Integer passwordVerifyFiled) {
        this.passwordVerifyFiled = passwordVerifyFiled;
    }

    public Boolean getIsLock() {
        return isLock;
    }

    public void setIsLock(Boolean isLock) {
        this.isLock = isLock;
    }

    public String getLockMemo() {
        return lockMemo;
    }

    public void setLockMemo(String lockMemo) {
        this.lockMemo = lockMemo;
    }

    public Date getSmsVerifyFiledTime() {
        return smsVerifyFiledTime;
    }

    public void setSmsVerifyFiledTime(Date smsVerifyFiledTime) {
        this.smsVerifyFiledTime = smsVerifyFiledTime;
    }

    public Date getPasswordVerifyFiledTime() {
        return passwordVerifyFiledTime;
    }

    public void setPasswordVerifyFiledTime(Date passwordVerifyFiledTime) {
        this.passwordVerifyFiledTime = passwordVerifyFiledTime;
    }
}
